package com.funmi.lizip.entity.dto.options;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 选项表
 * </p>
 *
 * @author itheima
 */
@Data
@ApiModel(value = "OptionsUpdateRequest", description = "选项修改")
public class OptionsUpdateRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "任务项id")
    @TableField("task_item_id")
    private Integer taskItemId;

    @ApiModelProperty(value = "选项名称")
    @TableField("options_name")
    private String optionsName;

    @ApiModelProperty(value = "选项代码")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "选项状态")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_at",select = false)
    private LocalDateTime createAt;

    @ApiModelProperty(value = "是否删除")
    @TableField(value = "is_delete",select = false)
    private Boolean isDelete;


}
